package com.csdj.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.csdj.reggie.commcn.R;
import com.csdj.reggie.dto.OrdersDto;
import com.csdj.reggie.dto.PageQueryDto;
import com.csdj.reggie.entity.Orders;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

public interface OrdersService extends IService<Orders> {

    /**
     * 用户下单
     * @param orders
     */
    void submit(Orders orders);

    Page<OrdersDto> userPage(Integer page,Integer pageSize);

    void againSubmit(Map<String,String> map);
}
